package com.bjc.core.bean.request;

import com.bjc.base.bean.BaseReqVO;
import com.bjc.base.core.ConfigEnvironment;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;


/**
 * 菜单请求VO
 * @author yangwen
 * @date 2017年8月11日 下午3:35:08
 */
@Getter 
@Setter 
@ToString
@ApiModel("菜单请求")
public class MenuReqVO extends BaseReqVO{

	
	@ApiModelProperty("名称")
	private String name;
	
	@ApiModelProperty("图标")
	private String icon;

	@ApiModelProperty("父节点id")
	private Integer parentId;
	
	@ApiModelProperty("路径")
	private String path;
	
	@ApiModelProperty("重定向路径")
	private String redirect;

	public String getAppName() {
		return ConfigEnvironment.getAppName();
	}

}
